package com.boang.exception;

import lombok.Getter;

@Getter
public final class MyException extends RuntimeException {

    //错误码
    private  int code;

    public MyException(String message) {
        super(message);
        this.code = 400;
    }
}
